/*
 * @Author: wnc
 * @Date: 2021-11-30 11:08:06
 * @Description: 安监模块路由
 */
import { RouteView } from '@/layouts'

//安监
export default {
  path: '/safetySupervision',
  component: RouteView,
  redirect: '/safetySupervision/safetySystem',
  name: 'SafetySupervision',
  meta: {
    title: '安监',
    icon: 'user'
  },
  children: [
    {
      path: 'basicSetting',
      component: RouteView,
      redirect: '/safetySupervision/basicSetting/laborerManage',
      name: 'BasicSetting',
      meta: {
        title: '基础设置'
      },
      children: [
        {
          path: 'inspectionTemplate',
          component: () => import('@/views/safetySupervision/basicSetting/inspectionTemplate'),
          name: 'inspectionTemplate',
          meta: {
            title: '考核项维护'
          }
        },
        {
          path: 'meetingType',
          component: () => import('@/views/safetySupervision/basicSetting/meetingType'),
          name: 'meetingType',
          meta: {
            title: '安全关键会议分类'
          }
        },
        {
          path: 'educationMeetingType',
          component: () => import('@/views/safetySupervision/basicSetting/educationMeetingType'),
          name: 'educationMeetingType',
          meta: {
              title: '安全教育会议分类'
          }
        },
        {
          path: 'projectProductRisk',
          component: () => import('@/views/safetySupervision/basicSetting/projectProductRisk'),
          name: 'projectProductRisk',
          meta: {
            title: '项目安全生产风险评价表'
          }
        },
        {
          path: 'laborerManage',
          component: () => import('@/views/safetySupervision/basicSetting/laborerManage'),
          name: 'LaborerManage',
          meta: {
            title: '劳务人员管理'
          }
        },
        {
          path: 'checkLogScore',
          component: () => import('@/views/safetySupervision/basicSetting/checkLogScore'),
          name: 'checkLogScore',
          meta: {
            title: '检查记录评分表'
          }
        },
        {
          path: '/safetySupervision/basicSetting/checkLogScore/projectManageCheck',
          component: () => import('@/views/safetySupervision/basicSetting/checkLogScore/projectManageCheck'),
          name: 'checkLogScore',
          meta: {
            title: '项目管理过程考核表',
            noTab: true
          }
        },
        {
          path: 'worktypeSetting',
          component: () => import('@/views/safetySupervision/basicSetting/worktypeSetting'),
          name: 'WorktypeSetting',
          meta: {
            title: '工种设置'
          }
        },
        {
          path: 'teamSetting',
          component: () => import('@/views/safetySupervision/basicSetting/teamSetting'),
          name: 'TeamSetting',
          meta: {
            title: '班组设置'
          }
        },
        {
          path: '/safety/denominationSetting',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/denominationSetting'),
          name: '/safety/denominationSetting',
          meta: {
            title: '发卡面额设置'
          }
        },
        {
          path: '/safety/rewardReason',
          props: {
            type: 0
          },
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/rewardReason'),
          name: '/safety/rewardReason',
          meta: {
            title: '获奖理由设置'
          }
        },
        {
          path: '/safetySupervision/basicSetting/contractType',
          component: () => import('@/views/safetySupervision/basicSetting/contractType'),
          name: 'contractType',
          meta: {
            title: '合同类型'
          }
        },
        {
          path: '/safetySupervision/basicSetting/constructionStage',
          component: () => import('@/views/safetySupervision/basicSetting/constructionStage'),
          name: 'constructionStage',
          meta: {
            title: '施工阶段配置'
          }
        },
        {
          path: '/safetySupervision/basicSetting/subcontractorLevel',
          component: () => import('@/views/safetySupervision/basicSetting/subcontractorLevel'),
          name: 'subcontractorLevel',
          meta: {
            title: '分包商引进级别配置'
          }
        },
        {
          path: '/safetySupervision/basicSetting/redAndYellowCard',
          component: () => import('@/views/safetySupervision/basicSetting/redAndYellowCard'),
          name: 'redAndYellowCard',
          meta: {
            title: '红黄牌发牌原因'
          }
        },
        {
          path: '/safetySupervision/basicSetting/postInfo',
          component: () => import('@/views/safetySupervision/basicSetting/postInfo'),
          name: 'postInfo',
          meta: {
            title: '安全人员岗位信息'
          }
        },
        {
          path: '/safetySupervision/basicSetting/noticeMaintenance',
          component: () => import('@/views/safetySupervision/basicSetting/noticeMaintenance'),
          name: 'noticeMaintenance',
          meta: {
            title: '带班通知维护'
          }
        }
      ]
    },
    {
      path: 'basicInformation',
      component: RouteView,
      redirect: '/quality/safe/safeInspection/dangerListMaintenance',
      name: 'basicInformation',
      meta: {
        title: '安监基础信息'
      },
      children: [
        {
          path: '/safetySupervision/securityPersonnel/securityExpertsCla',
          name: 'securityExpertsCla',
          meta: {
            title: '安全专家分类'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/securityExpertsCla')
        },
        {
          path: '/safetySupervision/otherWebContent/index',
          name: 'securityExpertsCla',
          meta: {
            title: '旁站内容'
          },
          component: () => import('@/views/quality/base/otherWebContent')
        },
        {
          path: '/safetySupervision/otherWebContent/add',
          name: 'securityExpertsCla',
          meta: {
            title: '旁站内容'
          },
          component: () => import('@/views/quality/base/otherWebContent/add')
        },
        {
          path: '/safetySupervision/securityPersonnel/securityCertificateCla',
          name: 'securityCertificateCla',
          meta: {
            title: '证书类型设置'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/securityCertificateCla')
        },
        {
          path: 'UpdateClaHazOpe',
          component: () =>
            import('@/views/safetySupervision/hazardousOperation/classifyHazardousOperation/UpdateClaHazOpe'),
          name: 'UpdateClaHazOpe',
          meta: {
            title: '危险作业管理模板设置',
            noTab: true
          }
        },
        {
          path: '/safetySupervision/safetyAcceptance/acceptanceClassify',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceClassify'),
          name: 'AcceptanceClassify',
          meta: {
            title: '安全验收分类'
          }
        },
        {
          path: '/safetySupervision/dangerProjectControl/dangerClassifyManage',
          component: () => import('@/views/safetySupervision/dangerProjectControl/dangerClassifyManage'),
          name: 'DangerClassifyManage',
          meta: {
            title: '危大工程分类管理'
          }
        },
        {
          path: '/safetySupervision/examRecord/totalWorkItem',
          component: () => import('@/views/safetySupervision/examRecord/totalWorkItem'),
          name: 'TotalWorkItem',
          meta: {
            title: '安全生产责任制考核清单设置'
          }
        },
        {
          path: '/safetySupervision/equipmentManagement/claEquipmentManagement',
          component: () => import('@/views/safetySupervision/equipmentManagement/claEquipmentManagement'),
          name: 'claEquipmentManagement',
          meta: {
            title: '机械设备类型设置'
          }
        },
        {
          path: '/safetySupervision/safetyAcceptance/acceptanceRecordClassify',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceRecordClassify'),
          name: 'acceptanceRecordClassify',
          meta: {
            title: '安全验收记录模板管理',
            noTab: true
          }
        },
        {
          path: '/safetySupervision/hazardousOperation/classifyHazardousOperation',
          component: () => import('@/views/safetySupervision/hazardousOperation/classifyHazardousOperation'),
          name: 'classifyHazardousOperation',
          meta: {
            title: '危险作业类别设置'
          }
        },
        {
          path: '/safetySupervision/safetySystem/classifyManage',
          component: () => import('@/views/safetySupervision/safetySystem/classifyManage'),
          name: 'ClassifyManage',
          meta: {
            title: '安全制度分类设置'
          }
        },
        {
          path: '/quality/safe/safeInspection/inspectionTypeMaintenance',
          name: 'safeInspectionTypeMaintenance',
          meta: {
            title: '安全检查_检查类型'
          },
          component: () => import('@/views/quality/safe/safeInspection/inspectionTypeMaintenance')
        },
        {
          path: '/quality/safe/safeInspection/dangerListMaintenance',
          name: 'dangerListMaintenance',
          meta: {
            title: '安全检查_安全隐患清单设置'
          },
          component: () => import('@/views/quality/safe/safeInspection/dangerListMaintenance')
        },
        {
          path: '/safetySupervision/hazardIdentification/claHazards',
          component: () => import('@/views/safetySupervision/hazardIdentification/claHazards'),
          name: 'claHazards',
          meta: {
            title: '分部分项工程配置'
          }
        },
        {
          path: '/safetySupervision/currency/subcontractorsDistrictManage',
          props: {
            type: 1
          },
          name: '/safetySupervision/currency/subcontractorsDistrictManage',
          meta: {
            title: '分包商责任区域管理'
          },
          component: () => import('@/views/quality/currency/subcontractorsDistrictManage')
        },
        {
          path: '/safetySupervision/currency/subcontractorsDistrictSetting',
          name: '/safetySupervision/currency/subcontractorsDistrictSetting',
          meta: {
            title: '分包商责任区域设置',
            noTab: true
          },
          component: () => import('@/views/quality/currency/subcontractorsDistrictSetting')
        }
      ]
    },
    {
      path: '/safetySupervision/safetyEducation',
      component: RouteView,
      name: 'reviewMeeting',
      redirect: '/safetySupervision/safetyEducation/safetyEducationList',
      meta: {
        title: '安全教育',
        hideHeader: true
      },
      children: [
        {
          path: '/safetySupervision/safetyEducation/safetyEducationList',
          name: 'safetyEducationList',
          meta: {
            title: '安全教育记录'
          },
          component: () => import('@/views/safetySupervision/safetyEducation/safetyEducationList')
        },
        {
          path: 'safetyEducationAddConference',
          // component: () => import('@/views/conference/standardConference/conferenceList/addConference.vue'),
          component: () => import('@/views/safetySupervision/safetyEducation/safetyEducationList/addConference.vue'),
          name: 'safetyEducationAddConference',
          meta: {
            title: '新增会议',
            noTab: true
          }
        },
        {
          path: 'safetyEducationinputSummary',
          // component: () => import('@/views/conference/standardConference/conferenceList/inputSummary.vue'),
          component: () => import('@/views/safetySupervision/safetyEducation/safetyEducationList/inputSummary.vue'),
          name: 'safetyEducationInputSummary',
          meta: {
            title: '填写会议纪要',
            noTab: true
          }
        },
        {
          path: '/safetySupervision/morningMeeting/meetingRecord',
          component: () => import('@/views/safetySupervision/morningMeeting/meetingRecord'),
          name: 'MeetingRecord',
          meta: {
            title: '班前一会一操'
          }
        },
        {
          path: 'updateMeetingRecord',
          component: () =>
            import('@/views/safetySupervision/morningMeeting/meetingRecord/UpdateMeetingRecord.vue'),
          name: 'UpdateMeetingRecord',
          meta: {
            title: '班前一会一操',
            noTab: true
          }
        },
        {
          path: 'lookMeetingRecord',
          component: () => import('@/views/safetySupervision/morningMeeting/meetingRecord/LookMeetingRecord.vue'),
          name: 'LookMeetingRecord',
          meta: {
            title: '班前一会一操查看',
            noTab: true
          }
        },
        {
          path: 'meetingStatistics',
          component: () => import('@/views/safetySupervision/morningMeeting/meetingStatistics'),
          name: 'MeetingStatistics',
          meta: {
            title: '班前一会一操统计'
          }
        }
      ]
    },
    {
      path: '/safetySupervision/safetyMeeting',
      component: RouteView,
      name: 'reviewMeeting',
      redirect: '/safetySupervision/safetyMeeting/safetyMeetingList',
      meta: {
        title: '安全会议',
        hideHeader: true
      },
      children: [
        {
          path: '/safetySupervision/safetyMeeting/safetyMeetingList',
          name: 'safetyMeetingList',
          meta: {
            title: '安全关键会议'
          },
          component: () => import('@/views/safetySupervision/safetyMeeting/safetyMeetingList')
        },
        {
          path: 'safetyMeetingAddConference',
          // component: () => import('@/views/conference/standardConference/conferenceList/addConference.vue'),
          component: () => import('@/views/safetySupervision/safetyMeeting/safetyMeetingList/addConference.vue'),
          name: 'safetyMeetingAddConference',
          meta: {
            title: '新增会议',
            noTab: true
          }
        },
        {
          path: 'safetyMeetinginputSummary',
          component: () => import('@/views/safetySupervision/safetyMeeting/safetyMeetingList/inputSummary.vue'),
          name: 'safetyMeetingInputSummary',
          meta: {
            title: '会议详情',
            noTab: true
          }
        }
      ]
    },
    {
      path: 'acceptanceRecord',
      component: RouteView,
      redirect: '/safetySupervision/acceptanceRecord/acceptanceRecordList',
      name: 'acceptanceRecord',
      meta: {
        title: '安全验收记录'
      },
      children: [
        {
          path: 'acceptanceRecordList',
          component: () => import('@/views/safetySupervision/acceptanceRecord/acceptanceRecordList'),
          name: 'acceptanceRecordList',
          meta: {
            title: '安全验收记录列表'
          }
        },
        {
          path: 'acceptanceClassify',
          component: () => import('@/views/safetySupervision/acceptanceRecord/acceptanceClassify'),
          name: 'acceptanceClassify',
          meta: {
            title: '安全验收记录分类'
          }
        }
      ]
    },
    {
      path: 'securityLog',
      component: RouteView,
      redirect: '/safetySupervision/securityLog/securityLogList',
      name: 'securityLog',
      meta: {
        title: '安全监督日志'
      },
      children: [
        {
          path: 'securityLogList',
          component: () => import('@/views/safetySupervision/securityLog/securityLogList'),
          name: 'securityLogList',
          meta: {
            title: '安全监督日志'
          }
        },
        {
          path: 'addSecurityLog',
          component: () => import('@/views/safetySupervision/securityLog/securityLogList/addSecurityLog.vue'),
          name: 'addSecurityLog',
          meta: {
            title: '新增安全监督日志',
            noTab: true
          }
        },
        {
          path: 'checkSecurityLog',
          component: () => import('@/views/safetySupervision/securityLog/securityLogList/checkSecurityLog.vue'),
          name: 'checkSecurityLog',
          meta: {
            title: '查看安全监督日志',
            noTab: true
          }
        },
        {
          path: 'monitorLogList',
          name: 'monitorLogList',
          meta: {
            title: '安全监督日志(新)',
          },
          component: () => import('@/views/safetySupervision/securityLog/monitorLogList')
        },
        {
          path: 'updateMonitor',
          name: 'updateMonitor',
          meta: {
            title: '安全监督日志新增',
            noTab: true
          },
          component: () => import('@/views/safetySupervision/securityLog/monitorLogList/updateMonitor.vue')
        },
        {
          path: 'monitorLogDetail',
          name: 'monitorLogDetail',
          meta: {
            title: '安全监督日志详情',
            noTab: true
          },
          component: () => import('@/views/safetySupervision/securityLog/monitorLogList/monitorLogDetail.vue')
        }
      ]
    },

    {
      path: 'hazardousOperation',
      component: RouteView,
      redirect: '/safetySupervision/hazardousOperation/hazardousOperationList',
      name: 'hazardousOperation',
      meta: {
        title: '高风险作业许可'
      },
      children: [
        {
          path: 'hazardousOperationList',
          component: () => import('@/views/safetySupervision/hazardousOperation/hazardousOperationList'),
          name: 'hazardousOperationList',
          meta: {
            title: '高风险作业许可'
          }
        },
        {
          path: 'classifyHazardousOperation',
          component: () => import('@/views/safetySupervision/hazardousOperation/classifyHazardousOperation'),
          name: 'classifyHazardousOperation',
          meta: {
            title: '高风险作业许可管理'
          }
        },
        {
          path: 'addHazardousOperation',
          component: () =>
            import(
              '@/views/safetySupervision/hazardousOperation/hazardousOperationList/addHazardousOperation.vue'
            ),
          name: 'addHazardousOperation',
          meta: {
            title: '高风险作业许可详情',
            noTab: true
          }
        },
        {
          path: 'checkHazardousOperation',
          component: () =>
            import(
              '@/views/safetySupervision/hazardousOperation/hazardousOperationList/checkHazardousOperation.vue'
            ),
          name: 'checkHazardousOperation',
          meta: {
            title: '高风险作业许可详情'
          }
        }
      ]
    },
    {
      path: 'equipmentManagement',
      component: RouteView,
      redirect: '/safetySupervision/equipmentManagement/equipmentManagementList',
      name: 'equipmentManagement',
      meta: {
        title: '机械设备'
      },
      children: [
        {
          path: 'equipmentManagementList',
          component: () => import('@/views/safetySupervision/equipmentManagement/equipmentManagementList'),
          name: 'equipmentManagementList',
          meta: {
            title: '机械设备台帐'
          }
        },
        {
          path: 'claEquipmentManagement',
          component: () => import('@/views/safetySupervision/equipmentManagement/claEquipmentManagement'),
          name: 'claEquipmentManagement',
          meta: {
            title: '机械设备类型管理'
          }
        },
        {
          path: 'addEquipmentManagement',
          component: () =>
            import(
              '@/views/safetySupervision/equipmentManagement/equipmentManagementList/addEquipmentManagement.vue'
            ),
          name: 'addEquipmentManagement',
          meta: {
            title: '机械设备台帐',
            noTab: true
          }
        },
        {
          path: 'checkEquipmentManagement',
          component: () =>
            import(
              '@/views/safetySupervision/equipmentManagement/equipmentManagementList/checkEquipmentManagement.vue'
            ),
          name: 'checkEquipmentManagement',
          meta: {
            title: '查看机械设备台帐'
          }
        }
      ]
    },
    {
      path: 'safetySystem',
      component: RouteView,
      redirect: '/safetySupervision/safetySystem/systemManage',
      name: 'SafetyManage',
      meta: {
        title: '安全管理制度'
      },
      children: [
        {
          path: 'systemManage',
          component: () => import('@/views/safetySupervision/safetySystem/systemManage'),
          name: 'SystemManage',
          meta: {
            title: '安全管理制度发布'
          }
        },
        {
          path: 'updateSystem',
          component: () => import('@/views/safetySupervision/safetySystem/systemManage/UpdateSystem.vue'),
          name: 'UpdateSystem',
          meta: {
            title: '安全制度管理上报',
            noTab: true
          }
        },
        {
          path: 'classifyManage',
          component: () => import('@/views/safetySupervision/safetySystem/classifyManage'),
          name: 'ClassifyManage',
          meta: {
            title: '安全制度分类'
          }
        }
      ]
    },
    {
      path: 'behaviorSafetyStar',
      name: 'BehaviorSafetyStar',
      component: RouteView,
      redirect: '/safetyStarList',
      meta: {
        title: '行为安全之星'
      },
      children: [
        {
          path: '/safetyStarList',
          props: {
            type: 0
          },
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/safetyStar'),
          name: 'SafetyStarList',
          meta: {
            title: '行为安全之星'
          }
        },
        {
          path: 'lookStar',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/safetyStar/LookStar'),
          name: 'LookStar',
          meta: {
            title: '查看行为安全之星',
            noTab: true
          }
        }
      ]
    },
    {
      path: 'examRecord',
      component: RouteView,
      redirect: '/safetySupervision/examRecord/personalInspectionMaintenance',
      name: 'ExamRecord',
      meta: {
        title: '安全责任指标考核'
      },
      children: [
        {
          path: 'inspectionRecords',
          component: () => import('@/views/safetySupervision/examRecord/inspectionRecords'),
          name: 'inspectionRecords',
          meta: {
            title: '安全责任指标考核记录'
          }
        },
        {
          path: 'updateInspectionRecords',
          component: () => import('@/views/safetySupervision/examRecord/inspectionRecords/updateInspectionRecords.vue'),
          name: 'updateInspectionRecords',
          meta: {
            title: '安全责任指标考核记录',
            noTab: true
          }
        },
        //旧版
        // {
        //   path: '/safetySupervision/examRecord/recordList',
        //   component: () => import('@/views/safetySupervision/examRecord/recordList'),
        //   name: '/safetySupervision/examRecord/recordList',
        //   meta: {
        //     title: '考核记录'
        //   }
        // },
        // {
        //   path: 'UpdateRecord',
        //   component: () => import('@/views/safetySupervision/examRecord/recordList/UpdateRecord'),
        //   name: 'UpdateRecord',
        //   meta: {
        //     title: '考核记录',
        //     noTab: true
        //   }
        // },
        //end
        // {
        //   path: 'totalWorkItem',
        //   component: () => import('@/views/safetySupervision/examRecord/totalWorkItem'),
        //   name: 'TotalWorkItem',
        //   meta: {
        //     title: '总工作项维护'
        //   }
        // },
        //旧版
        // {
        //   path: 'personalWorkItem',
        //   component: () => import('@/views/safetySupervision/examRecord/personalWorkItem'),
        //   name: 'PersonalWorkItem',
        //   meta: {
        //     title: '个人考核项维护'
        //   }
        // },
        // {
        //   path: 'UpdatePersonalWorkItem',
        //   component: () => import('@/views/safetySupervision/examRecord/personalWorkItem/UpdateWorkItem'),
        //   name: 'UpdatePersonalWorkItem',
        //   meta: {
        //     title: '个人考核项维护',
        //     noTab: true
        //   }
        // },
        //旧版end
        {
          path: 'personalInspectionMaintenance',
          component: () => import('@/views/safetySupervision/examRecord/personalInspectionMaintenance'),
          name: 'personalInspectionMaintenance',
          meta: {
            title: '个人考核项维护'
          }
        },
        {
          path: '/updatePersonMaintenance',
          component: () => import('@/views/safetySupervision/examRecord/personalInspectionMaintenance/updatePersonMaintenance.vue'),
          name: 'updatePersonMaintenance',
          meta: {
            title: '个人考核项维护',
            noTab: true
          }
        },

      ]
    },
    {
      path: 'hazardIdentification',
      component: RouteView,
      redirect: '/safetySupervision/hazardIdentification/hazardIdentificationList',
      name: 'HazardIdentification',
      meta: {
        title: '危险源管理'
      },
      children: [
        {
          path: 'hazardIdentificationList',
          component: () => import('@/views/safetySupervision/hazardIdentification/hazardIdentificationList'),
          name: 'HazardIdentificationList',
          meta: {
            title: '危险源辨识会议及清单'
          }
        },
        {
          path: 'claHazards',
          component: () => import('@/views/safetySupervision/hazardIdentification/claHazards'),
          name: 'claHazards',
          meta: {
            title: '危险源分类设置'
          }
        },
        {
          path: 'safetyAddConference',
          component: () =>
            import('@/views/safetySupervision/hazardIdentification/hazardIdentificationList/addConference.vue'),
          name: 'safetyAddConference',
          meta: {
            title: '危险源辨识会议及清单',
            noTab: true
          }
        },
        {
          path: 'safetyAddConferenceWaitDo',
          component: () =>
            import('@/views/safetySupervision/hazardIdentification/hazardIdentificationList/waitDo.vue'),
          name: 'safetyAddConferenceWaitDo',
          meta: {
            title: '危险源辨识会议及清单',
            noTab: true
          }
        },
        {
          path: 'meetingDetail',
          component: () =>
            import('@/views/safetySupervision/hazardIdentification/hazardIdentificationList/meetingDetail.vue'),
          name: 'MeetingDetail',
          meta: { title: '会议进行中' }
        },
        {
          path: 'riskProjectControl',
          component: () => import('@/views/safetySupervision/hazardIdentification/riskProjectControl'),
          name: 'riskProjectControl',
          meta: { title: '风险项目分级管控' }
        },
        {
          path: 'riskProjectControlAdd',
          component: () => import('@/views/safetySupervision/hazardIdentification/riskProjectControl/add.vue'),
          name: 'riskProjectControlAdd',
          meta: { title: '风险项目分级管控', noTab: true }
        }
      ]
    },
    {
      path: 'safeProductAwardPunish',
      component: RouteView,
      redirect: '/safetySupervision/safeProductAwardPunish/fineForBreachOfContract',
      name: 'fineForBreachOfContract',
      meta: {
        title: '安全生产奖罚'
      },
      children: [
        {
          path: 'fineForBreachOfContract',
          component: () => import('@/views/safetySupervision/safeProductAwardPunish/fineForBreachOfContract'),
          name: 'fineForBreachOfContract',
          meta: { title: '违约罚款台账' }
        },
        {
          path: 'fineForBreachOfContractAdd',
          component: () => import('@/views/safetySupervision/safeProductAwardPunish/fineForBreachOfContract/add'),
          name: 'fineForBreachOfContractAdd',
          meta: { title: '违约罚款台账', noTab: true }
        }
      ]
    },
    {
      path: 'leaderProductionRecord',
      component: RouteView,
      redirect: '/safetySupervision/leaderProductionRecord/productionRecordList',
      name: 'LeaderProductionRecord',
      meta: {
        title: '领导带班生产记录'
      },
      children: [
        {
          path: 'productionRecordList',
          component: () => import('@/views/safetySupervision/leaderProductionRecord/productionRecordList'),
          name: 'ProductionRecordList',
          meta: {
            title: '领导带班生产记录'
          }
        },
        {
          path: 'updateProductionRecord',
          component: () =>
            import(
              '@/views/safetySupervision/leaderProductionRecord/productionRecordList/UpdateProductionRecord.vue'
            ),
          name: 'UpdateProductionRecord',
          meta: {
            title: '领导带班生产记录',
            noTab: true
          }
        },
        //历史领导带班生产记录
        {
          path: 'historyUpdateProductionRecord',
          component: () =>
            import(
              '@/views/safetySupervision/leaderProductionRecord/productionRecordList/historyUpdateProductionRecord.vue'
            ),
          name: 'historyUpdateProductionRecord',
          meta: {
            title: '历史领导带班生产记录',
            noTab: true
          }
        },
        {
          path: 'PmProductionList',
          component: () => import('@/views/safetySupervision/leaderProductionRecord/PmProductionList'),
          name: 'PmProductionList',
          meta: {
            title: '项目经理带班记录'
          }
        },
        {
          path: 'UpdatePmProductionRecord',
          component: () =>
            import(
              '@/views/safetySupervision/leaderProductionRecord/PmProductionList/UpdatePmProductionRecord.vue'
            ),
          name: 'UpdatePmProductionRecord',
          meta: {
            title: '项目经理带班记录',
            noTab: true
          }
        }
      ]
    },
    {
      path: 'cardNotice',
      component: RouteView,
      redirect: '/safetySupervision/cardNotice/cardNoticeList',
      name: 'CardNotice',
      meta: {
        title: '安全评比'
      },
      children: [
        {
          path: 'cardNoticeList',
          component: () => import('@/views/safetySupervision/cardNotice/cardNoticeList'),
          name: 'CardNoticeList',
          meta: {
            title: '红黄牌公示'
          }
        },
        {
          path: 'addCardNotice',
          component: () => import('@/views/safetySupervision/cardNotice/cardNoticeList/UpdateCardNotice.vue'),
          name: 'AddCardNotice',
          meta: {
            title: '红黄牌公示新增',
            noTab: true
          }
        },
        {
          path: 'updateCardNotice',
          component: () => import('@/views/safetySupervision/cardNotice/cardNoticeList/UpdateCardNotice.vue'),
          name: 'UpdateCardNotice',
          meta: {
            title: '红黄牌公示编辑',
            noTab: true
          }
        },
        {
          path: 'lookCardNotice',
          component: () => import('@/views/safetySupervision/cardNotice/cardNoticeList/UpdateCardNotice.vue'),
          name: 'LookCardNotice',
          meta: {
            title: '红黄牌公示查看',
            noTab: true
          }
        },
        {
          path: 'safetyStarHonour',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/safetyStarHonour'),
          name: 'SafetyStarHonour',
          meta: {
            title: '行为安全之星集中表彰'
          }
        },
        {
          path: 'safetyStarHonour/update',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/safetyStarHonour/update'),
          name: 'SafetyStarHonourUpdate',
          meta: {
            title: '行为安全之星集中表彰',
            noTab: true
          }
        },
        {
          path: '/safetySupervision/cardNotice/createCardLog',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/createCardLog'),
          name: 'SafetyStarHonour',
          meta: {
            title: '行为安全之星发卡记录'
          }
        },
        {
          path: '/safetySupervision/cardNotice/createCardLog/add',
          component: () => import('@/views/safetySupervision/behaviorSafetyStar/createCardLog/add'),
          name: 'SafetyStarHonourUpdate',
          meta: {
            title: '行为安全之星发卡记录',
            noTab: true
          }
        }
      ]
    },
    {
      path: 'dangerProjectControl',
      component: RouteView,
      redirect: '/safetySupervision/dangerProjectControl/projectControlList',
      name: 'DangerProjectControl',
      meta: {
        title: '危大工程管理  '
      },
      children: [
        {
          path: 'projectControlList',
          component: () => import('@/views/safetySupervision/dangerProjectControl/projectControlPlan'),
          name: 'ProjectControlList',
          meta: {
            title: '危大工程管控清单'
          }
        },
        {
          path: 'UpdateProjectControl',
          component: () =>
            import('@/views/safetySupervision/dangerProjectControl/projectControlPlan/UpdateProjectControl.vue'),
          name: 'UpdateProjectControl',
          meta: {
            title: '危大工程管控清单',
            noTab: true
          }
        },
        {
          path: 'dangerClassifyManage',
          component: () => import('@/views/safetySupervision/dangerProjectControl/dangerClassifyManage'),
          name: 'DangerClassifyManage',
          meta: {
            title: '危大工程分类设置'
          }
        },
        {
          path: 'sideList',
          component: () => import('@/views/safetySupervision/dangerProjectControl/sideList'),
          name: 'sideList',
          meta: {
            title: '现场旁站记录'
          }
        },
        {
          path: 'sideDetail',
          component: () => import('@/views/safetySupervision/dangerProjectControl/sideList/sideDetail.vue'),
          name: 'sideDetail',
          meta: {
            title: '现场旁站记录详情',
            noTab: true
          }
        }
      ]
    },
    // {
    //   path: 'morningMeeting',
    //   component: RouteView,
    //   redirect: '/safetySupervision/morningMeeting/meetingRecord',
    //   name: 'MorningMeeting',
    //   meta: { title: '早班会' },
    //   children: [
    //     {
    //       path: 'meetingRecord',
    //       component: () => import('@/views/safetySupervision/morningMeeting/meetingRecord'),
    //       name: 'MeetingRecord',
    //       meta: { title: '早班会记录' }
    //     },
    //     {
    //       path: 'updateMeetingRecord',
    //       component: () =>
    //           import('@/views/safetySupervision/morningMeeting/meetingRecord/UpdateMeetingRecord.vue'),
    //       name: 'UpdateMeetingRecord',
    //       meta: { title: '早班会记录', noTab: true }
    //     },
    //     {
    //       path: 'lookMeetingRecord',
    //       component: () => import('@/views/safetySupervision/morningMeeting/meetingRecord/LookMeetingRecord.vue'),
    //       name: 'LookMeetingRecord',
    //       meta: { title: '早班会记录查看', noTab: true }
    //     },
    //     {
    //       path: 'meetingStatistics',
    //       component: () => import('@/views/safetySupervision/morningMeeting/meetingStatistics'),
    //       name: 'MeetingStatistics',
    //       meta: { title: '早班会情况统计' }
    //     }
    //   ]
    // },
    // {
    //   path: 'side',
    //   component: RouteView,
    //   redirect: '/safetySupervision/side/sideList',
    //   name: 'side',
    //   meta: { title: '现场旁站记录' },
    //   children: [

    //   ]
    // },
    {
      path: 'emergencyManoeuvre',
      component: RouteView,
      redirect: '/safetySupervision/emergencyManoeuvre/emergencyPlan',
      name: 'EmergencyManoeuvre',
      meta: {
        title: '应急演练'
      },
      children: [
        {
          path: 'emergencyPlan',
          component: () => import('@/views/safetySupervision/emergencyManoeuvre/emergencyPlan'),
          name: 'EmergencyPlan',
          meta: {
            title: '应急演练计划'
          }
        },
        {
          path: 'updateEmergencyPlan',
          component: () =>
            import('@/views/safetySupervision/emergencyManoeuvre/emergencyPlan/UpdateEmergencyPlan.vue'),
          name: 'UpdateEmergencyPlan',
          meta: {
            title: '应急演练计划',
            noTab: true
          }
        },
        {
          path: 'emergencyRecord',
          component: () => import('@/views/safetySupervision/emergencyManoeuvre/emergencyRecord'),
          name: 'EmergencyRecord',
          meta: {
            title: '应急演练记录'
          }
        },
        {
          path: 'updateEmergencyRecord',
          component: () =>
            import('@/views/safetySupervision/emergencyManoeuvre/emergencyRecord/UpdateEmergencyRecord.vue'),
          name: 'UpdateEmergencyRecord',
          meta: {
            title: '应急演练记录',
            noTab: true
          }
        }
      ]
    },
    {
      path: 'safetyAcceptance',
      component: RouteView,
      redirect: '/safetySupervision/safetyAcceptance/acceptancePlan',
      name: 'SafetyAcceptance',
      meta: {
        title: '安全验收'
      },
      children: [
        {
          path: 'acceptancePlan',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptancePlan'),
          name: 'AcceptancePlan',
          meta: {
            title: '安全验收计划'
          }
        },
        {
          path: 'dangerPlan',
          component: () => import('@/views/safetySupervision/safetyAcceptance/dangerPlan'),
          name: 'DangerPlan',
          meta: {
            title: '危大工程验收计划'
          }
        },
        {
          path: 'acceptanceRecord',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceRecord'),
          name: 'acceptanceRecord',
          meta: {
            title: '安全验收记录'
          }
        },
        {
          path: 'acceptanceRecordDetail',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceRecord/detail'),
          name: 'acceptanceRecordDetail',
          meta: {
            noTab: true,
            title: '安全验收记录详情'
          }
        },
        {
          path: 'updateAcceptancePlan',
          component: () =>
            import('@/views/safetySupervision/safetyAcceptance/acceptancePlan/UpdateAcceptancePlan.vue'),
          name: 'UpdateAcceptancePlan',
          meta: {
            title: '安全验收计划',
            noTab: true
          }
        },
        {
          path: 'acceptanceClassify',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceClassify'),
          name: 'AcceptanceClassify',
          meta: {
            title: '安全验收分类'
          }
        },
        {
          path: 'acceptanceRecordClassify',
          component: () => import('@/views/safetySupervision/safetyAcceptance/acceptanceRecordClassify'),
          name: 'acceptanceRecordClassify',
          meta: {
            title: '安全验收分类验收表'
          }
        }
      ]
    },
    {
      path: 'safteyClosure',
      component: RouteView,
      redirect: '/safetySupervision/safteyClosure/safteyClosurePlan',
      name: 'SafteyClosure',
      meta: {
        title: '安全交底'
      },
      children: [
        {
          path: 'safteyClosurePlan',
          component: () => import('@/views/safetySupervision/safteyClosure/safteyClosurePlan'),
          name: 'SafteyClosurePlan',
          meta: {
            title: '月安全交底计划'
          }
        },
        {
          path: 'updateSafteyClosurePlan',
          component: () =>
            import('@/views/safetySupervision/safteyClosure/safteyClosurePlan/UpdateSafteyClosurePlan.vue'),
          name: 'UpdateSafteyClosurePlan',
          meta: {
            title: '月安全交底计划',
            noTab: true
          }
        },
        {
          path: 'safteyClosureRecord',
          component: () => import('@/views/safetySupervision/safteyClosure/safteyClosureRecord'),
          name: 'SafteyClosureRecord',
          meta: {
            title: '月安全交底记录'
          }
        },
        {
          path: 'safteyClosureRecordAddPlanOut',
          component: () => import('@/views/safetySupervision/safteyClosure/safteyClosureRecord/add'),
          name: 'safteyClosureRecordAddPlanOut',
          meta: {
            title: '计划外交底记录',
            noTab: true
          }
        },
        {
          path: 'updateSafteyClosureRecord',
          component: () =>
            import('@/views/safetySupervision/safteyClosure/safteyClosureRecord/UpdateSafteyClosureRecord.vue'),
          name: 'UpdateSafteyClosureRecord',
          meta: {
            title: '月安全交底记录',
            noTab: true
          }
        }
      ]
    },
    // 安全检查
    {
      path: '/quality/safe/safeInspection',
      name: 'safeInspection',
      meta: {
        title: '安全检查与整改'
      },
      redirect: '/quality/safe/safeInspection/safeInspectionRecord',
      component: RouteView,
      children: [
        {
          path: '/quality/safe/safeInspection/safeInspectionRecord',
          name: 'safeInspectionRecord',
          meta: { title: '安全检查记录' },
          component: () => import('@/views/quality/safe/safeInspection/safeInspectionRecord')
        },
        {
          path: '/safetySupervision/checkAndRectify/checkRecord',
          name: 'inspectionRecord',
          meta: { title: '检查记录' },
          component: () => import('@/views/safetySupervision/checkAndRectify/checkRecord')
        },
        {
          path: '/safetySupervision/checkAndRectify/checkRecord/detail',
          name: 'inspectionRecordDetail',
          meta: { title: '检查记录', noTab: true },
          component: () => import('@/views/safetySupervision/checkAndRectify/checkRecord/detail')
        },
        {
          path: '/safetySupervision/checkAndRectify/rectifyNotice',
          name: 'rectifyNotice',
          meta: { title: '整改通知单' },
          component: () => import('@/views/safetySupervision/checkAndRectify/rectifyNotice')
        },
        {
          path: '/safetySupervision/checkAndRectify/rectifyNotice/edit',
          name: 'rectifyNoticeEdit',
          meta: { title: '整改通知单', noTab: true },
          component: () => import('@/views/safetySupervision/checkAndRectify/rectifyNotice/edit')
        },
        {
          path: '/safetySupervision/checkAndRectify/safeCheckRecord',
          name: 'safeCheckRecord',
          meta: { title: '安全检查记录' },
          component: () => import('@/views/safetySupervision/checkAndRectify/safeCheckRecord')
        },
        {
          path: '/safetySupervision/checkAndRectify/safeCheckRecord/add',
          name: 'safeCheckRecordAdd',
          meta: { title: '安全检查记录', noTab: true },
          component: () => import('@/views/safetySupervision/checkAndRectify/safeCheckRecord/add')
        },
        {
          path: '/quality/safe/safeInspection/dangerListMaintenance',
          name: 'dangerListMaintenance',
          meta: {
            title: '安全隐患清单维护'
          },
          component: () => import('@/views/quality/safe/safeInspection/dangerListMaintenance')
        },
        {
          path: '/quality/safe/safeInspection/inspectionTypeMaintenance',
          name: 'safeInspectionTypeMaintenance',
          meta: {
            title: '安全检查类型维护'
          },
          component: () => import('@/views/quality/safe/safeInspection/inspectionTypeMaintenance')
        },
        {
          path: '/quality/safe/problemRectificationManage',
          name: 'safeProblemRectificationManage',
          meta: {
            title: '安全问题整改跟踪'
          },
          component: () => import('@/views/quality/safe/problemRectificationManage')
        },
        {
          path: '/quality/recordInfo',
          name: 'safeRecordInfo',
          meta: {
            title: '质量问题整改',
            noTab: true
          },
          component: () => import('@/views/quality/components/recordInfo')
        }
      ]
    },
    {
      path: '/quality/securityPerson',
      name: 'securityPerson',
      meta: {
        title: '安全组织机构管理'
      },
      redirect: '/quality/securityPerson/employees',
      component: RouteView,
      children: [
        {
          path: '/quality/securityPerson/employees',
          name: 'employees',
          meta: {
            title: '安全人员'
          },
          component: () => import('@/views/quality/securityPerson/employees')
        },
        {
          path: '/quality/securityPerson/expert',
          name: 'expert',
          meta: {
            title: '安全专家管理'
          },
          component: () => import('@/views/quality/securityPerson/expert')
        },
        {
          path: '/quality/securityPerson/expert/expertEdit',
          name: 'expertEdit',
          meta: {
            title: '安全专家详情',
            noTab: true
          },
          component: () => import('@/views/quality/securityPerson/expert/expertEdit')
        }
      ]
    },
    {
      path: 'securityPersonnel',
      name: 'securityPersonnel',
      meta: {
        title: '安全人员'
      },
      redirect: '/safetySupervision/securityPersonnel/securityPersonnelList',
      component: RouteView,
      children: [
        {
          path: 'securityPersonnelList',
          name: 'securityPersonnelList',
          meta: {
            title: '安全人员库'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/securityPersonnelList')
        },
        {
          path: 'securitylecturer',
          name: 'securitylecturer',
          meta: {
            title: '安全讲师库'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/securitylecturer')
        },
        {
          path: 'securityExperts',
          name: 'securityExperts',
          meta: {
            title: '安全专家库'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/securityExperts')
        },

        {
          path: 'updateSecurityPersonnel',
          name: 'updateSecurityPersonnel',
          meta: {
            title: '安全人员库',
            noTab: true
          },
          component: () =>
            import('@/views/safetySupervision/securityPersonnel/securityPersonnelList/updateSecurityPersonnel')
        },

        {
          path: 'subcontractorSafetyer',
          name: 'subcontractorSafetyer',
          meta: {
            title: '分包安全员台账'
          },
          component: () => import('@/views/safetySupervision/securityPersonnel/safetySubcontractor')
        },
        {
          path: 'subcontractorSafetyer/edit',
          name: 'subcontractorSafetyerEdit',
          meta: {
            title: '分包安全员',
            noTab: true
          },
          component: () =>
            import('@/views/safetySupervision/securityPersonnel/safetySubcontractor/edit.vue')
        }
      ]
    },
    {
      path: 'other',
      name: 'other',
      redirect: '/safetySupervision/other/monthReport',
      meta: {
        title: '安监'
      },
      component: RouteView,
      children: [
        {
          path: 'monthReport',
          name: 'monthReport',
          meta: {
            title: '公司安全管理月报'
          },
          component: () => import('@/views/safetySupervision/other/monthReport')
        },
        {
          path: 'monthReportDetail',
          name: 'monthReportDetail',
          meta: {
            title: '公司安全管理月报详情',
            noTab: true
          },
          component: () => import('@/views/safetySupervision/other/monthReport/detail')
        }
      ]
    },
    {
      path: 'subcontractorComment',
      name: 'subcontractorComment',
      redirect: '/safetySupervision/subcontractorComment/year',
      meta: {
        title: '分包商考核评价'
      },
      component: RouteView,
      children: [
        {
          path: 'year',
          name: 'year',
          meta: {
            title: '分包商年度评价表(公司)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/year')
        },
        {
          path: 'yearAdd',
          name: 'yearAdd',
          meta: {
            noTab: true,
            title: '分包商年度评价表(公司)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/year/add')
        },
        {
          path: 'monthProject',
          name: 'monthProject',
          meta: {
            title: '分包商月度评价表(项目)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/monthProject')
        },
        {
          path: 'monthProjectAdd',
          name: 'monthProjectAdd',
          meta: {
            noTab: true,
            title: '分包商月度评价表(项目)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/monthProject/add')
        },
        {
          path: 'monthSubCompany',
          name: 'monthSubCompany',
          meta: {
            title: '分包商月度评价表(分公司)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/monthSubCompany')
        },
        {
          path: 'monthSubCompanyAdd',
          name: 'monthSubCompanyAdd',
          meta: {
            noTab: true,
            title: '分包商月度评价表(分公司)'
          },
          component: () => import('@/views/safetySupervision/subcontractorComment/monthSubCompany/add')
        },
      ]
    },
  ]
}